package com.ruoyi.system.web.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 姚炜琦
 * @Classname GoToLogin
 * @Description TODO
 * @Date 2022/10/21 10:50
 */
@FeignClient(value = "ruoyi-login",path = "/loginClient")
public interface GoToLogin {
    /**
     * feign接口调用去登录注册页面
     * @param model
     * @return
     */
    @RequestMapping(value = "/userLogin.html")
    public String loginAndRegistration(Model model);
}
